package com.cn.kehong.api;


import com.cn.kehong.domain.Role;
import com.cn.kehong.utils.QueryForm;

import java.util.List;

public interface IRoleService {

    List<Role> getRoleList(QueryForm queryForm)throws Exception;

    String addRoleDetail(Role role) throws Exception;

    int countRoleByName(String name, String id) throws Exception;

    String updateRoleDetail(Role role) throws Exception;

    String deleteRoleDetail(QueryForm queryForm) throws Exception;

    List<String> queryRolePermission(String roleId) throws Exception;

    List<Role> getIdByRoleName(String cellValue) throws Exception;
}
